<template>
  <div class="hello">
    {{title}}
    <ChildHood></ChildHood>
  </div>
</template>
 
<script lang="ts">
import {
  Component, Vue, Inject, InjectReactive
} from 'vue-property-decorator';

import ChildHood from './ChildHood'
 
@Component({
  components: {
    ChildHood
  }
})
export default class PropComponent extends Vue {
  @InjectReactive() private title!: string
}
</script>